<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<html>
<head>
  <style>img{float: left; }</style>
  <script src="../js/jquery-1.4.2.js"></script>
  <script src="../js/ttclient-0.0.1.js"></script>
</head>
<body>

<script>
	
	ttClient.getUserInfoSim(function(data){
		alert('Sim:' + data.user + data.email);
	});

	$('#divIndicator').show();
	var user2 = ttClient.getUserInfo(function(data){
		alert('callback value:' + data['name']);
		$('#divIndicator').hide();
	});
	
</script>

<div id="divIndicator" class="indicator">
	<img src="../img/13221833.gif" />loading...
</div>	

</body>
</html>